/*
 * Copyright © 2023
 * @Author: zhangxiang
 * @Date: 2023-05-15 11:18:39
 * @LastEditors: zhangxiang
 * @LastEditTime: 2023-05-15 11:21:24
 * @Description:
 *
 */

import Layout from '@/layout'

/**
 * @description: 应用服务路由
 * @return {*}
 */
const appServiceRouter = {
  path: '/app-service', // 根路径
  component: Layout,
  redirect: '/app-service/index', // 重定向
  children: [
    {
      path: 'index', // 路径
      name: 'AppService', // 路由跳转name
      component: () => import('@/views/app-service/index'), // 视图对应的组件
      meta: {
        title: '应用服务', // 标题
        icon: 'app-service', // svg对应的icon
        menuNameKey: 'AppService',
        menuKey: 'AppService' // menu权限控制key
      }
    }
  ]
}

export default appServiceRouter
